﻿<u:UObject x:Class="UTable.Tests.UComboBoxTest"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:u="clr-namespace:UTable.Objects.Controls;assembly=UTable.Core"
    xmlns:local="clr-namespace:UTable.Tests"
    Height="300" Width="300">
    <Grid>
        <u:UComboBox Height="39" Margin="49,59,35,0" VerticalAlignment="Top" Width="214" Foreground="White" FontSize="16" x:Name="FileBox" MaxDropDownHeight="150"
            ItemsSource="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:UComboBoxTest}}, Path=Files}">
            <u:UComboBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding}" FontSize="16" Foreground="Black"/>
                </DataTemplate>
            </u:UComboBox.ItemTemplate>
        </u:UComboBox>
    </Grid>
</u:UObject>
